<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta content="email=no" name="format-detection">
<meta content="telephone=no" name="format-detection">
	<title>服务网点</title>
	<link rel="stylesheet" type="text/css" href="../../css/common.css">
	<link rel="stylesheet" type="text/css" href="../../css/notice.css">
	<link rel="stylesheet" type="text/css" href="../../font-awesome-4.5.0/css/font-awesome.min.css">
	<script src="../asset/js/jquery-2.2.1.min.js"></script>
	<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		<script src="../asset/js/baseinfo.js"></script>
	
	<script type="text/javascript">
		function getLocationMap(latitude,longitude,name,address){
		 wx.openLocation({
		      latitude: latitude,
		      longitude: longitude,
		      name: name,
		      address: address,
		      scale: 14,
		      infoUrl: 'http://weixin.qq.com'
		    });
		    }
	</script>
</head>
<body>
	<!-- 网点名称页面开始 -->
	<div class="web-main">
		<div class="web">
			<div class="web-type">
				<div class="type-name">
					<p class="web-name">盛世郡营业部</p>
					<p class="web-add">地址：任丘市会战道与裕华路交叉口</p>
				</div>
				<span class="fa fa-angle-right" latitude="38.708970" longitude="116.100270"></span>
			</div>
			<div class="web-type">
				<div class="type-name">
					<p class="web-name">中华瑞鑫营业部</p>
					<p class="web-add">地址：任丘市中华西路8号</p>
				</div>
				<span class="fa fa-angle-right" latitude="38.721930" longitude="116.092060"></span>
			</div>
			<div class="web-type">
				<div class="type-name">
					<p class="web-name">水务局营业部</p>
					<p class="web-add">地址：任丘市水务局1楼</p>
				</div>
				<span class="fa fa-angle-right" latitude="38.710341" longitude="116.119384"></span>
			</div>
		</div>
	</div>
	<!-- 网点名称页面结束 -->

	<script type="text/javascript">
		$(function(){
			setWXConfig(preUrl+"wechat/user/busi_site.html");
			$('.web-main .web-type').bind('click',function(event){
				var thisObj=$(this);
				var thisSpan=thisObj.find("span");
				var name=thisObj.find(".web-name").text();
				var address=thisObj.find(".web-add").text().replace("地址：","");
				getLocationMap(parseFloat(thisSpan.attr("latitude")),parseFloat(thisSpan.attr("longitude")),name ,address);
			});
			
		});



	</script>
</body>
</html>